package com.keshe.member.service;

import com.keshe.member.entity.UserEntity;
import com.keshe.member.entity.UserTokenEntity;

import java.util.Set;


public interface ShiroService {
    /**
     * 获取用户权限列表
     */
    Set<String> getUserPermissions(int id);

    UserTokenEntity queryByToken(String token);

    /**
     * 根据用户ID，查询用户
     * @param id
     */
    UserEntity queryUser(Integer id);
}
